﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Share.Default" %>
<div>
	<div id="SendEmail1" style="display:none">
		<div class="popup_content" style="text-align:center">
			<strong><%=GetText("SR017")%></strong>
			<div id="EmailCon">
			</div>
		</div>		        
		<div class="popup_button"><input id="Button3" type="button" value="<%=GetText("SR018")%>" class="button" onclick="javascript:$get('txtEmail').value='';$get('SendEmail1').style.display='none';$get('Send').style.display=''" />&nbsp;&nbsp;<input id="Button4" type="button" value="<%=GetText("C0064")%>" class="buttong" onclick="parent.window.neatDialog.close();" /></div>
	</div>
	<div id="SelFriendsC" style="display:none">
		<div class="popup_content" style="text-align:center">
			<strong><%=GetText("SR017")%></strong>
			<div id="FNickName">
			</div>
		</div>
		<div class="popup_button"><input id="Button5" type="button" value="<%=GetText("SR018")%>" class="button" onclick="javascript:$get('SelFriendsC').style.display='none';$get('Send').style.display=''" />&nbsp;&nbsp;<input id="Button6" type="buttonG" value="<%=GetText("C0064")%>" class="buttong" onclick="parent.window.neatDialog.close();" /></div>
	</div>
    <div id="Send">
	    <div class="popup_content">
	        <div>
	            <strong><%=GetText("SR005")%>:</strong><br />
				<input id="text1" type="text" value="<%=UrlRefer%>" class="common460" disabled="disabled" readonly="readOnly" />
				<div class="clear"></div>
	        </div>	        
		    <div class="margin20T">
			    <ul class="sort_sel" style="width:480px">
				    <li id="spanQuesType1" class="first selATags" onclick="ShowType(0);" style=" float:left"><span><%=GetText("SR000")%></span></li>
				    <li id="spanQuesType2" class="" onclick="ShowType(1);" style=" float:left"><span><%=GetText("SR001")%></span></li>
			    </ul>
			    <div class="clear"></div>			    
		    </div>
		    <div class="" id="askQuestype1">			    
			    <div id="SendEmail">
			        <div id="emOthErr" style="display:none"><%=GetText("SR003")%></div>
				    <%=GetText("SR002")%>
					<p><textarea id="txtEmail" class="common460" rows="5"></textarea></p>				    
				    <input id="Button1" type="button" value="<%=GetText("C0047")%>" class="button" onclick="SendEmail()" />&nbsp;&nbsp;<input id="Cancel1" type="button" value="<%=GetText("C0064")%>" class="buttong" onclick="parent.window.neatDialog.close();" />
			    </div>			    			    
		    </div>		
		    <div class="" id="askQuestype2" style="display:none">		        
			    <div id="SelectFriends">
				    <div style="border-bottom:1px #cccccc solid; padding-bottom:3px; margin-bottom:10px">
					    <div style="float:left"><%=GetText("SR006")%></div>
					    <div style="float:right"><input type="checkbox" id="checkDel" title="<%=GetText("SR009")%> / <%=GetText("C0056")%>" onclick="CheckAllBox(this)" /><font color="#ff0000" size="1"><%=GetText("SR009")%></font></div>
					    <div class="clear"></div>
				    </div>	
					<div id="error1ID" style="display:none">
						<div class="MessagePanel4">
							<div style="margin-left:10px"><%=GetText("SR014")%></div>
						</div>
					</div>					
				    <div id="FriendsList">
						<ul class="tag_common_right">
						<asp:Repeater ID="rfList" runat="server" >
						<ItemTemplate>
							<li><input type="checkbox" id="<%#Eval("MemberNo") %>" onclick="CheckFriend('<%#Eval("MemberNo") %>',this)" /> <a href="/<%#Eval("MemberNo") %>.htm" target="_blank"><%#Eval("NickName") %></a></li>
						</ItemTemplate>
						</asp:Repeater>	
						</ul>
						<div class="clear"></div>
				    </div>
				    <div class="clear"></div> 
				    <div id="divPage" class="DisplayNone"></div>				    
				    <div class="margin5">
				        <input id="Button2" type="button" value="<%=GetText("C0047")%>" class="button" onclick="SendItalkiMail()" />&nbsp;&nbsp;<input id="Cancel2" type="button" value="<%=GetText("C0064")%>" class="buttong" onclick="parent.window.neatDialog.close();" />
				    </div>
			    </div>
			    <div id="NoFriends" style="display:none">
			        <h3><%=GetText("SR010")%></h3>
			    </div>			    
		    </div>
	    </div>
    </div>
    <div id="Succeed" style="display: none">
        <h3><%=GetText("SR011")%></h3>        
    </div>
    <div id="failure" style="display: none">
        <h3><%=GetText("SR012")%></h3>        
    </div>
</div>

<div id="FriendsTemple" style="display:none">
	<ul class="tag_common_right">
		<li><input type="checkbox" id="$MemberNo$" onclick="CheckFriend('$MemberNo$',this)" /> <a href="/$MemberNo$.htm" target="_blank">$NickName$</a></li>
	</ul>
</div>